//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package org.slw.common.helper;

import java.util.Properties;

public class ConfigHelper {
    private static final Properties CONFIG_PROPS = PropsHelper.loadProps("slw-config.properties");

    public ConfigHelper() {
    }

    public static String getAutoReload() {
        return PropsHelper.getString(CONFIG_PROPS, "slw.auto_reload");
    }

    public static String getActionExtension() {
        return PropsHelper.getString(CONFIG_PROPS, "slw.action_extension");
    }

    public static String getAppBasePackage() {
        return PropsHelper.getString(CONFIG_PROPS, "slw.base_package");
    }



    public static String getSystemName() {
        return PropsHelper.getString(CONFIG_PROPS, "app.system_name");
    }


    public static String getSysId() {
        return PropsHelper.getString(CONFIG_PROPS, "app.system.id", "1001");
    }

    public static String getProperty(String key, String defaultValue) {
        return PropsHelper.getString(CONFIG_PROPS, key, defaultValue);
    }
}
